package com.wing.product.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.wing.enterprisecab.product.model.response.EnterpriseVO;
import com.wing.product.model.entity.ProOutsourcingOrder;
import com.wing.product.model.entity.ProductVariety;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * 委外订单
 * @author hz
 */
@Mapper
public interface ProOutsourcingOrderDao extends BaseMapper<ProOutsourcingOrder> {

    /**
     * 查询委外订单列表
     * @param pg 分页信息
     * @param paramMap 参数
     * @return
     */
    List<ProOutsourcingOrder> pageList4app(@Param("page") Page<ProOutsourcingOrder> pg, @Param("map") Map<String, Object> paramMap);
}
